/* .form-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;

  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

    .label {
      font-size: 14px;
      color: #333;
      margin-bottom: 8px;
    }

    .input {
      height: 40px;
      padding: 0 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
      color: #666;
      outline: none;
	  flex: 1;

      &:focus {
        border-color: #f56c6c;
      }

      &::placeholder {
        color: #bbb;
      }
    }
  }

  .button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;

    .save-button {
      width: 100%;
      max-width: 200px;
      height: 40px;
      background-color: #f56c6c;
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      text-align: center;
      line-height: 40px;

      &:active {
        background-color: #d9534f;
      }
    }
  }
}
	.container {
		background-color: #fff;
		border-radius: 10rpx;
		padding: 20rpx;
		box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
		margin-top: 20rpx;
	}
 */

.form-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 20px; // 与顶部的距离
  
  .avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%; // 让图片变成圆形
      margin-bottom: 20px; // 图片和表单之间的间距
      align-self: center; // 图片居中
    }

  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

    .uni-forms-item {
      display: flex;
      align-items: center; // 使 label 和 input 在同一行
      margin-bottom: 15px; // 每个表单项之间的间距
    }

    .label {
      font-size: 14px;
      color: #333;
      margin-right: 10px; // 标签和输入框之间的间距
      width: 80px; // 设置标签宽度，避免过长
    }

    .input {
      height: 40px;
      padding: 0 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
      color: #666;
      outline: none;
      flex: 1; // 输入框占据剩余空间
      max-width: 400px; // 限制最大宽度，避免过宽

      &:focus {
        border-color: #f56c6c;
      }

      &::placeholder {
        color: #bbb;
      }
    }
  }

  .button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;

    .save-button {
      width: 100%;
      max-width: 200px;
      height: 40px;
      background-color: #f56c6c;
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      text-align: center;
      line-height: 40px;

      &:active {
        background-color: #d9534f;
      }
    }
  }
}

.container {
  background-color: #fff;
  border-radius: 10rpx;
  padding: 20rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  margin-top: 20rpx;
}


